package com.hisense.ovcloud.asop.entity.ch;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: yangweiping1
 * @description:
 * @date: 2025/3/27 13:38
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ServiceLogMetricBiz {
    /**
     *   `service` String,
     *     `pod_name` String,
     *     `path` String,
     *     `request_total` Int64,
     *     `request_failure_total` Int64,
     *     `request_failure_rate` Float64,
     *     `request_qps` Float64,
     *     `min_duration_ms` Int64,
     *     `max_duration_ms` Int64,
     *     `avg_duration_ms` Int64,
     *     `tp90_duration_ms` Int64,
     *     `tp95_duration_ms` Int64,
     *     `tp99_duration_ms` Int64,
     *     `logtime` DateTime,
     *     `create_time` DateTime DEFAULT now()
     */
    private String service;
    private String path;
    private Long request_total;
    private Long request_failure_total;
    private Long min_duration_ms;
    private Long max_duration_ms;
    private Long avg_duration_ms;
    private Long tp90_duration_ms;
    private Long tp95_duration_ms;
    private Long tp99_duration_ms;

}
